export const mixinfun= {
		data() {
			return {
				title: '分享的标题',
				imageUrl: ''
			};
		},
		onLoad(){
			uni.showShareMenu({
					withShareTicket: true,
					menus: ['shareAppMessage', 'shareTimeline']
			});
			console.log('aaaaaa');
		},
		onShareAppMessage(res) {
				return {
					title: this.title,
					imageUrl: this.imgUrl
				}
			},
		onShareTimeline(res) {
			return {
				title: this.title,
				imageUrl: this.imgUrl
			}
		},
		methods: {
			aa() {
				console.log('aa');
			}
		}
};
export default mixinfun